
import PageTools from '@/components/PageTools'
import UploadImg from '@/components/UploadImg'
import Lang from '@/components/Lang'
import ScreenFull from '@/components/ScreenFull'

// 自定义插件
export default {
  // install： 当Vue.use（）注册就会执行  接收的是Vue的构造函数
  install(Vue) {
    console.log(Vue, 'obj')
    Vue.component('PageTools', PageTools)
    Vue.component('UploadImg', UploadImg)
    Vue.component('Lang', Lang)
    Vue.component('ScreenFull', ScreenFull)
  }
}
